# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'Pages'
        db.create_table('pages_pages', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('slug', self.gf('django.db.models.fields.SlugField')(max_length=220)),
            ('title', self.gf('django.db.models.fields.CharField')(max_length=220)),
            ('details', self.gf('django.db.models.fields.TextField')()),
            ('added_date', self.gf('django.db.models.fields.DateField')(auto_now_add=True, blank=True)),
            ('status', self.gf('django.db.models.fields.CharField')(default='ENABLED', max_length=8)),
            ('notes', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
        ))
        db.send_create_signal('pages', ['Pages'])

    def backwards(self, orm):
        # Deleting model 'Pages'
        db.delete_table('pages_pages')

    models = {
        'pages.pages': {
            'Meta': {'object_name': 'Pages'},
            'added_date': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'details': ('django.db.models.fields.TextField', [], {}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '220'}),
            'status': ('django.db.models.fields.CharField', [], {'default': "'ENABLED'", 'max_length': '8'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '220'})
        }
    }

    complete_apps = ['pages']